import { createRouter, createWebHashHistory } from 'vue-router'
import Home from '@/views/home/index.vue'
// import Home from '@/views/notePaper/index.vue'

const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home
    },
    
    {
      path: '/notePaper',
      name: 'notePaper',
      component: () => import('@/views/notePaper/index.vue'),
      meta: {
        title: '便签'
      }
    },
    {
      path: '/aiCodeCompare',
      name: 'aiCodeCompare',
      component: () => import('@/views/aiCodeCompare/index.vue'),
      meta: {
        title: 'ai对比'
      }
    }
  ]
})

export default router